package com.applcn.order.constant;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * com.applcn.order.constant
 * Description:
 *
 * @author: 大妖怪
 * @date: 2020-01-20 11:51
 */
public enum LogisticsTypeEnum implements IEnum<Integer> {

    DELIVER(0, "发货"),

    RETURN(1, "退货");

    private int code;
    private String desc;

    LogisticsTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public Integer getValue() {
        return this.getCode();
    }
}
